#!/bin/bash

Time=$(date +%H)
echo `date` >> /tmp/mydaily.log

case "$Time" in
	19)
		export DISPLAY=:0.0
		/opt/teamviewer/tv_bin/script/teamviewer
		;;
	08)
		reboot
		;;
	*)
		exit 1
esac
